const { ccclass, property } = cc._decorator;



@ccclass
export default class NewClass extends cc.Component {

    @property(cc.Label)
    label: cc.Label = null;

    sp = new cc.Sprite();

    onLoad() {
        //console.error(this);

        //this.sp.spriteFrame = 
    }

}